package com.squirrel.common.param.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

/**
 * @Description ModifyParam 修改参数
 * @Author 关远键
 * @Version v1.0.0
 * @Date 2021/11/22 15:12
 */
@Data
@ApiModel("修改参数")
public class ModifyParam {

    @ApiModelProperty(value = "用户ID", required = true)
    @NotBlank(message = "用户ID不能为空")
    private Integer userId;

//    @ApiModelProperty(value = "头像", required = true)
//    @NotBlank(message = "头像不能为空")
//    private MultipartFile avatar;

    @ApiModelProperty(value = "昵称", required = true)
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @ApiModelProperty(value = "简介", required = true)
    @NotBlank(message = "简介不能为空")
    private String intro;


}
